#ifndef _PRIMITIVECZLINDERZ_
#define _PRIMITIVECZLINDERZ_

#include "PrimitiveCylinder.h"
#include "GeomCylinder.h"

class PrimitiveCylinderZ: public PrimitiveCylinder{
protected:
public:
	PrimitiveCylinderZ( double Mass ): PrimitiveCylinder( Mass ){
		mGeomPtr->setRotation(Vec3d(0,0,0));
		
	}
	PrimitiveCylinderZ(Vec3d _offset, Vec3d _dim, double Mass) : PrimitiveCylinder(_offset, _dim, Mass){
		// set correct rotation
		mGeomPtr->setRotation(Vec3d(0,0,0));
	}

	virtual inline void setDim(Vec3d _dim){
		mDim=Vec3d(_dim[1], _dim[0], _dim[2]);
		mGeom->setExtent(mDim);
	}
};

#endif
